import BaseMock from '../baseMock'

export default class User extends BaseMock {
  constructor() {
    const name = 'UserMock'
    const total = 25
    const listApi = '/api/user/getList'
    const deleteApi = /\/*\/user\/delete/ // 带参数的必须要用正则
    const detailApi = /\/*\/user\/getItem/ // 带参数的必须要用正则
    const updateApi = '/api/user/updateItem'

    super({ name, total, listApi, deleteApi, detailApi, updateApi })
  }
}
